<?php
namespace app\index\validate;

use think\Validate;

class Material extends Validate
{
    protected $rule = [
        'id' => 'require|number'
    ];
} 